<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/vue.js"></script>
</head>
<script>
    // if(){

    // }else if(){

    // }else{

    // }
</script>
<body>
    <div id="demo">
        <h3>count: {{count}}</h3>
        <ul>
            <li v-if="count===1">bootstrap</li>
            <li v-else-if="count===2">react</li>
            <li v-else-if="count===3">vue</li>
            <li v-else>其他。。。。</li>
        </ul>
        <p><button @click="count++">count++</button></p>
    </div>
    <script>
        Vue.config.productionTip = false
        new Vue({
            el: '#demo',
            data: {
                count: 0
            }
        })
    </script>
</body>

</html>